package com.bdmc.report.mapper;

import com.bdmc.common.annotation.DataColumn;
import com.bdmc.common.annotation.DataPermission;
import com.bdmc.report.domain.ReportCarTime;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bdmc.report.domain.bo.ReportCarStopBo;
import com.bdmc.report.domain.bo.ReportCarTimeBo;
import com.bdmc.report.domain.vo.ReportCarAccVo;
import com.bdmc.report.domain.vo.ReportCarTimeVo;
import com.bdmc.common.core.mybatisplus.core.BaseMapperPlus;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 发动机运行时长Mapper接口
 *
 * @author bdmc
 * @date 2022-08-09
 */
public interface ReportCarTimeMapper extends BaseMapperPlus<ReportCarTime> {
    
    @DataPermission({@DataColumn(value = "d.dept_id")})
    Page<ReportCarTimeVo> mySelectPage(@Param("page") Page<ReportCarTime> page, @Param("param") ReportCarTimeBo bo);

    @DataPermission({@DataColumn(value = "d.dept_id")})
    List<ReportCarTimeVo> mySelectPage(@Param("param") ReportCarTimeBo bo);
}
